/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ditt.outils;

/**
 *
 * @author attobra
 */
public class Etudiant {
    private String nom;
    private String prenom ;
    private int nbreObjet = 0;
    private static int nbreTotal  = 0;
    
   
    

    public Etudiant(String nom, String prenom) {
        this.nom = nom;
        this.prenom = prenom;
        nbreTotal++;
        nbreObjet++;
    }

    public static int getNbreTotal() {
        
        return nbreTotal;
    }

    public int getNbreObjet() {
        
        return nbreObjet;
    }
    
    
    
    
}



